-
Home
-
Tutor LMS – eLearning and online course solution
-
3.4.0 (latest)
-
Code
-
Classes
- CheckoutController
Total Complexity |
114 |
Dependencies |
16 |
Dependents |
8 |
Total lines |
948 |
Lines of code |
603 |
Logical lines of code |
329 |
Comment lines |
214 |
Methods |
16 |
Properties |
1 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
pay_now() |
C |
30 |
22 |
120 |
prepare_checkout_items() |
B |
36 |
21 |
78 |
prepare_payment_data() |
B |
32 |
15 |
107 |
pay_incomplete_order() |
A |
41 |
13 |
51 |
prepare_items() |
A |
47 |
10 |
36 |
calculate_discount() |
A |
49 |
8 |
31 |
proceed_to_payment() |
S |
48 |
4 |
37 |
prepare_recurring_payment_data() |
S |
42 |
3 |
51 |
restrict_checkout_page() |
S |
58 |
5 |
15 |
set_pay_now_alert_msg() |
S |
56 |
3 |
20 |
validate_pay_now_req() |
S |
56 |
3 |
19 |
create_checkout_page() |
S |
61 |
2 |
13 |
__construct() |
S |
65 |
2 |
9 |
get_page_url() |
S |
80 |
1 |
3 |
get_page_id() |
S |
79 |
1 |
3 |
ajax_get_checkout_html() |
S |
65 |
1 |
10 |